package day13.Ti.DXC;

public class Ti01 {
    public static void main(String[] args) {
        MyThread m1 = new MyThread();
        m1.start();
        for (int k = 0; k < 1000; k++) {
            System.out.println("k="+k);
        }
    }
}

class MyThread extends Thread {
    @Override
    public void run() {
        for (int i = 0; i < 1000; i++) {
            System.out.println("i="+i);
        }
    }
}
